<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>href 演示</title>
</head>
<body>
    <a href="https://www.baidu.com/">点击跳转百度</a>
    <a href="https://www.baidu.com/"><img src="baidu.png" border="5px"></a>
    <a href="#">跳转到当前页面</a>
</body>
</html>